export interface ToastParams {
	text: string
	type?: 'success' | 'fail' | 'normal'
	hideMask?: boolean
	position?: 'top' | 'center' | 'bottom'
	duration?: number
}

export type Toast = (params: ToastParams) => void
